home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1997 …ember: Reference Library / Dev.CD Dec 97 RL.toast / What's New / Tool Chest / Testing & Debugging / Virtual User / Examples / External Tool Templates / C Tool Template / YourTool.vulib < prev    next >
Encoding:
Text File  |  1997-10-15  |  565 b   |  24 lines  |  [TEXT/MPS ]

  1. #
  2. #  External_Tools interface test script.
  3. #
  4.  
  5. tool YourTool s:'VUxt'
  6.  
  7. begin
  8.  
  9.     # Services specific to YourTool:
  10.     
  11.     Service "YourService"('Integer', 'Integer') return 'Integer';
  12.     
  13.     # Services common to all Virtual User 2.0 external tools:
  14.     
  15.     Service "Initialize"( 'undefined' );        # pass TRUE for target, FALSE for host
  16.     Service "Cancel"( 'string' );
  17.     Service "GetToolServices"() return 'list';
  18.     Service "GetToolVersion"() return 'list';
  19.     Service "Poll"( 'string' ) return 'string';
  20.     Service "ServiceSupported"( 'string' ) return 'undefined';
  21.     Service "Quit"();
  22.  
  23. end;
  24.